package com.fishv.fishvdianping.common;

/**
 * @author yuwei
 * @date 18:12 2024/10/20
 */
public interface RedisConstant {
    String CODE_PREFIX = "code:";
    String LOGIN_USER_KEY = "login:user:";
    String SHOP_CACHE_KEY = "cache:shop:";
    Long CODE_TTL = 5L;
    Long LOGIN_USER_TTL = 300L;
    Long SHOP_CACHE_TTL = 2L;
    String VOUCHER_LOCK_KEY = "voucher:lock:";

    String SECKILL_STOCK_KEY = "seckill:stock:";
    String BLOG_LIKED_KEY = "blog:liked:";
    String FEED_KEY = "feed:";
    String SHOP_GEO_KEY = "shop:geo:";
    String USER_SIGN_KEY = "sign:";
}
